import axiosService from "@/utils/request.js"

export function detailUserService() {
    return axiosService({
        url: "/project/user/detail",
        method: "post"
    })
}

export function logoutUserService() {
    return axiosService({
        url: "/project/user/logout",
        method: "delete"
    })
}

export function getUserInfoService() {
    return axiosService({
        url: "/project/user/get-info",
        method: "get"
    })
}

export function editUserInfoService(data) {
    return axiosService({
        url: "/project/user/edit-info",
        method: "post",
        data: data
    })
}